<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<script type='text/javascript'>
HOST = 'http://127.0.01';
ROOT = 'http://127.0.01/jmshop';
WEB = 'http://127.0.01/jmshop/index.php';
URL = 'http://127.0.01/jmshop/index.php/Index/List/index';
APP = 'http://127.0.01/jmshop/Application';
COMMON = 'http://127.0.01/jmshop/Application/Common';
HDPHP = 'http://127.0.01/jmshop/hdphp';
HDPHP_DATA = 'http://127.0.01/jmshop/hdphp/Data';
HDPHP_EXTEND = 'http://127.0.01/jmshop/hdphp/Extend';
MODULE = 'http://127.0.01/jmshop/index.php/Index';
CONTROLLER = 'http://127.0.01/jmshop/index.php/Index/List';
ACTION = 'http://127.0.01/jmshop/index.php/Index/List/index';
STATIC = 'http://127.0.01/jmshop/Static';
HDPHP_TPL = 'http://127.0.01/jmshop/hdphp/Lib/Tpl';
VIEW = 'http://127.0.01/jmshop/Application/Index/View';
PUBLIC = 'http://127.0.01/jmshop/Application/Index/View/Public';
CONTROLLER_VIEW = 'http://127.0.01/jmshop/Application/Index/View/List';
HISTORY = 'http://127.0.01/jmshop/index.php/Index/JieSuanChengGong/index';
TEMPLATE = 'http://127.0.01/jmshop/template/default';
</script>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>列表页</title>
	<link rel="stylesheet" href="http://127.0.01/jmshop/template/default/css/list.css" />
	<script type="text/javascript" src="http://127.0.01/jmshop/template/default/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="http://127.0.01/jmshop/template/default/js/list.js"></script>
	<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
</head>
<body>
	<!-- 网站头部开始 -->
	<div id="head">
		<div class="head_bar">
			<div class="middle_bar">
			<!-- 左边 -->
			    <?php if(!isset($_SESSION['uid']) && !isset($_SESSION['username'])){ ?>
				<span class="welcome">欢迎来到聚美!</span>
				<span class="welcome">
					<a href="<?php echo U('Index/Login/index');?>" class="pless_log">请登录</a>
				</span>
				<span class="welcome">
					<a href="<?php echo U('Index/Reg/index');?>" class="pless_reg">快速注册</a>
				</span>
			<?php }else{ ?>
				<span class="welcome">欢迎您,</span>
				<span class="yidengluming"><?php echo $hd['session']['username'];?></span>
				<a href="<?php echo U('Index/Login/out');?>" class="out">[退出]</a>
			<?php } ?>
				<div class="beijing">送至&nbsp北京<a href="" class="jiao"></a></div>
				<!-- 右边 -->
				<div class="more">
				更多<span class="jiao"></span>
				<div class="more_hide">
					<ul class="more_nav">
						<li><a href="">邀请好友</a></li>
						<li><a href="">加入收藏</a></li>
						<li><a href="">新浪微博</a></li>
						<li><a href="">聚美微博</a></li>
						<li><a href="">百度贴吧</a></li>
						<li><a href="">腾讯微博</a></li>
						<li><a href="">人人公众主页</a></li>
						
					</ul>
					
				</div>
				</div>
				<div class="kind"><span class="cha"></span>查看分类</div>
				<span class="xian">|</span>	
				<div class="kb"><a href="" class="hand"></a><a href="">口碑中心</a></div>
				<div class="sj"><a href="" class="phone"></a><a href="">手机聚美</a></div>
				<span class="xian">|</span>
				<div class="my_jm">
					我的聚美<span class="jiao"></span>
					<div class="my_hidden">
						<ul class="sub_nav">
							<li><a href="<?php echo U('Index/Mine/index');?>">我的订单</a></li>
							<li><a href="">我的现金券</a></li>
							<li><a href="">我的红包</a></li>
							<li><a href="">我的余额</a></li>
							<li><a href="">我的提现退款</a></li>
							<li><a href="">我的收藏</a></li>
							<li><a href="">我的心愿单</a></li>
							<li><a href="">会员中心</a></li>
							<li><a href="">兑换礼品</a></li>
						</ul>
						
					</div>
				</div>	
				<span class="save">
					<a href="" class="heart"></a><a href="">收藏的品牌</a>
				</span>
				<span class="cha_xun">
					<a href="">订单查询</a>
				</span>
			</div>
			
		</div>
		<!-- 收缩区域开始 -->
		<div id="search">
			<img src="http://127.0.01/jmshop/template/default/image/logo_new_v1.jpg" alt="" class="logo"/>
			<img src="http://127.0.01/jmshop/template/default/image/mz_logo.jpg" alt="" class="logo1"/>
			<div class="search_bar">
				<form class="kuang" method="post" action="">
					<input type="text"  class="sou" value="护手霜" />
					<div class="btn">搜美妆</div>
				</form>
				<span class="link">
					<a href="" class="bs">保湿</a>
					<a href="">面膜</a>
					<a href="">洗面奶</a>
					<a href="">补水</a>
					<a href="">香水</a>
					<a href="">眼霜</a>
					<a href="">口红</a>
					<a href="">护肤套装</a>
					<a href="">BB霜</a>
				</span>
			</div>
			<div class="cash">
				<span class="bao"><img src="http://127.0.01/jmshop/template/default/image/cart.gif" alt="" /></span>
				<a href="" class="kk">去购物车结算</a>
				<span class="jiao"></span>
				<div class="jiesuan_hidden">
					<ul class="up">
					
					</ul>
					<div class="down">
						<a href="<?php echo U('Index/JieSuan/index');?>" class="che">去购物车结算</a>
						<div class="che_left">
							<span class="gong">共<i><?php echo $cartTotalNum;?></i>件商品</span>
							<span class="total">共计<i>￥</i><span class="num"><?php echo $cartTotalPrice;?></span></span>
						</div>
					</div>
				</div>
			</div>
			

		</div>
		
	</div>
	<div id="nav">
		<div class="middle">
		<ul class="dao_hang">
			<li class="free"><a href="<?php echo U('Index/Index/index');?>">首页</a></li>
			<?php foreach ($cate as $k=>$v){?>
				<li class="free"><a href="<?php echo U('Index/List/index');?>"><?php echo $v['cname'];?></a></li>
			<?php }?>
		</ul>
		<ul class="biao">
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z_01new.jpg" alt="" /></a></li>
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z02.jpg" alt="" /></a></li>
			<li><a href=""><img src="http://127.0.01/jmshop/template/default/image/z03.jpg" alt="" /></a></li>
		</ul>
			
		</div>
				
	</div>
	<!-- 网站头部结束 -->
	<!-- 中间部分开始 -->
	<div class="floor1">
		<div class="title">
			<span class="search">
				<a href="">化妆品首页</a>
				<span class="right">></span>
    			<a href="">香水</a>
    			<span class="right">></span>
    			<select name="" class="xuan_shang_pin">
    				<option value="">男士香水</option>
    				<option value="">女士香水</option>
    				<option value="">中性香水</option>
    				<option value="">Q版香水</option>
    				<option value="">香水套装</option>
    			</select>
    			<span class="right">></span>
    			<div class="search_kuang">
    				<input type="search"  results="s" value="在当前条件下搜索" class="ti_jiao"/>
    				<span class="search_btn"></span>
    			</div>
    			
			</span>
			
		</div>
		<!-- 筛选区域开始 -->
		<div class="shai_xuan">
			<div class="shai_xuan_title">
				<span class="name">在<span class="red">男士香水</span>中筛选 </span>
				<div class="tiao_mu">
					<div class="shang_pin_kind">
						<span class="lei">品牌:</span>
						<ul class="pin_pai">
							<li><a href="" class="hover">不限</a></li>
						<?php foreach ($paiData as $k=>$v){?>
							
							<li><a href="<?php echo U('Index/List/index',array('bid'=>$v['bid'],'cid'=>$_GET['cid'],'param'=>implode('_',$param)));?>"     <?php if($_GET['bid']==$v['bid']){ ?>class="hover"<?php } ?>><?php echo $v['bname'];?></a></li>
						<?php }?>	
						</ul>
						
					</div>

					<?php foreach ($tempAttrFinal as $k=>$v){?>
						<?php
							$temp = $param;
							$temp[$k] = 0;

						?>
						<div class="shang_pin_kind">
							<span class="lei"><?php echo $v['tname'];?>:</span>
							<ul class="pin_pai">
								<li><a href="<?php echo U('Index/List/index',array('bid'=>$_GET['bid'],'cid'=>$_GET['cid'],'param'=>implode('_',$temp)));?>"     <?php if($param[$k]==0){ ?>class="hover"<?php } ?>>不限</a></li>
								<?php foreach ($v['tvalue'] as $kk=>$vv){?>
									<?php
										$temp[$k] = $vv['gtid'];
									?>
									<li><a href="<?php echo U('Index/List/index',array('bid'=>$_GET['bid'],'cid'=>$_GET['cid'],'param'=>implode('_',$temp)));?>"     <?php if($param[$k]==$vv['gtid']){ ?>class="hover"<?php } ?>><?php echo $vv['gtvalue'];?></a></li>
								<?php }?>
							</ul>
							
						</div>
					<?php }?>
					<div class="shang_pin_kind">
						<span class="lei">价格:</span>
						<ul class="pin_pai">
							<li><a href="" class="hover">不限</a></li>
							<li><a href="">0-269元</a></li>
							<li><a href="">270-389元</a></li>
							<li><a href="">390-589元</a></li>
							<li><a href="">590-779元</a></li>
							<li><a href="">780元以上</a></li>

						</ul>
						
					</div>
					
				</div>
				
			</div>
			
		</div>

		<!-- 筛选区域结束 -->
		<!-- 商品展示开始 -->
		<div class="show">
				<div class="head">
					<dl class="xiang">
						<dt><a href="">排序:</a></dt>
						<dd><a href="" class="moren">默认<img src="http://127.0.01/jmshop/template/default/image/desc_selected_hover.png" alt="" /></a></dd>
						<dd><a href="">价格<img src="http://127.0.01/jmshop/template/default/image/p_s_hover.png" alt="" /></a></dd>
						<dd><a href="">销量<img src="http://127.0.01/jmshop/template/default/image/desc_selected_hover.png" alt="" /></a></dd>
						<dd><a href="">人气<img src="http://127.0.01/jmshop/template/default/image/desc_selected_hover.png" alt="" /></a></dd>
						<dd><a href="">上架时间<img src="http://127.0.01/jmshop/template/default/image/desc_selected_hover.png" alt="" /></a></dd>
						<dd><input type="checkbox" name="" id="" /><a href="">只看特卖</a></dd>
					</dl>
					<div class="tongji">
						<span class="total">共<span class="num">172</span>个商品</span>
						<span class="xian">|&nbsp</span><span class="ye">1</span><span class="xiexian">/</span><span class="zong_ye">5</span><span class="ye_zi">页</span>
						<input type="button" value="下一页" />&nbsp&nbsp&nbsp&nbsp<input type="button" value="上一页" />
					</div>
				
				</div>
				<div class="shangpin">
				<?php foreach ($goodDatas as $k=>$v){?>

					<div class="shangpin_kuai">
						<a href="<?php echo U('Index/Content/index',array('gid'=>$v['gid']));?>">
						<img src="http://127.0.01/jmshop/<?php echo $v['pic'];?>" alt="" class="tu" />
						<div class="below">
							<div class="zhekou">
								<a href="" class="zhe"><?php echo $v['zhe'];?></a><span class="zi">折</span><span class="xiexian">/</span><a href="" class="miaoshu"><?php echo $v['gname'];?></a>
							</div>
							<div class="jiage">
								<a href="" class="biao">￥</a><a href="" class="xian_jia" ><?php echo $v['shopprice'];?></a>&nbsp<a href="" class="biao">￥</a><del class="yuan_jia"><?php echo $v['markprice'];?></del>&nbsp<span class="jian" >减</span>
							</div>
							<div class="yigou">
								<span class="people" >226</span><span class="yi_gou_mai">人已购买</span>
							</div>
							<div class="button">
								<a href="" class="jia_ru"></a>
								<!-- <a href="" class="shou_cang"></a> -->
							</div>
						
						</div>
						</a>
					</div>
				<?php }?>

				</div>
				<!-- 页码 -->
				<!-- <div class="page">
					
				</div> -->

		</div>
		<!-- 商品展示结束 -->
		<!-- <div class="zui_zhong"> -->
			<!-- <div class="head">
				<span class="goumai_zuizhong">搜索“”的用户最终购买</span>

			</div>
			<div class="shangpin_kuai_below">

						<img src="http://127.0.01/jmshop/template/default/image/shangpin/595172_350_350.jpg" alt="" class="tu" />
						<div class="below">
							<div class="zhekou">
								<a href="" class="miaoshu">菲拉格慕蓝色经典男士淡香水50ml</a>
							</div>
							<div class="jiage">
								<a href="" class="biao">￥</a><a href="" class="xian_jia">119</a>&nbsp<del class="yuan_jia" >￥119</del>&nbsp<span class="jian">减</span>
							</div>
							<div class="ping_jia">
								<span class="tu"></span>
								<span class="num">200</span><span class="pinglun">条评论</span>
							</div>						
						</div>
					
			</div>

			
			<div class="shangpin_kuai_below">

						<img src="http://127.0.01/jmshop/template/default/image/shangpin/595172_350_350.jpg" alt="" class="tu" />
						<div class="below">
							<div class="zhekou">
								<a href="" class="miaoshu">菲拉格慕蓝色经典男士淡香水50ml</a>
							</div>
							<div class="jiage">
								<a href="" class="biao">￥</a><a href="" class="xian_jia">119</a>&nbsp<del class="yuan_jia" >￥119</del>&nbsp<span class="jian">减</span>
							</div>
							<div class="ping_jia">
								<span class="tu"></span>
								<span class="num">200</span><span class="pinglun">条评论</span>
							</div>						
						</div>
					
			</div>


			<div class="shangpin_kuai_below">

						<img src="http://127.0.01/jmshop/template/default/image/shangpin/595172_350_350.jpg" alt="" class="tu" />
						<div class="below">
							<div class="zhekou">
								<a href="" class="miaoshu">菲拉格慕蓝色经典男士淡香水50ml</a>
							</div>
							<div class="jiage">
								<a href="" class="biao">￥</a><a href="" class="xian_jia">119</a>&nbsp<del class="yuan_jia" >￥119</del>&nbsp<span class="jian">减</span>
							</div>
							<div class="ping_jia">
								<span class="tu"></span>
								<span class="num">200</span><span class="pinglun">条评论</span>
							</div>						
						</div>
					
			</div>


			<div class="shangpin_kuai_below">

						<img src="http://127.0.01/jmshop/template/default/image/shangpin/595172_350_350.jpg" alt="" class="tu" />
						<div class="below">
							<div class="zhekou">
								<a href="" class="miaoshu">菲拉格慕蓝色经典男士淡香水50ml</a>
							</div>
							<div class="jiage">
								<a href="" class="biao">￥</a><a href="" class="xian_jia">119</a>&nbsp<del class="yuan_jia" >￥119</del>&nbsp<span class="jian">减</span>
							</div>
							<div class="ping_jia">
								<span class="tu"></span>
								<span class="num">200</span><span class="pinglun">条评论</span>
							</div>						
						</div>
					
			</div> -->
			
		<!-- </div> -->
		<!-- 下部搜索区域开始 -->
		<!-- <div class="sousuo">
			<div class="up">
				<div class="total">搜索全部</div>
				<div class="kuang">
					<input type="text" value="美妆"/>
					<span class="di"><span class="btn"></span></span>
					
				</div>
				
			</div>
			<a href="" class="kou_bei_zhong_xin">去口碑中心搜索</a>
			
		</div> -->
		<!-- 下部搜索区域结束 -->
		<!-- 查看记录开始 -->
		<!-- <div class="jilu">
			<div class="head"><span>您最近查看的商品RECENTLY VIEWD ITEMS</span></div>
			<div class="xian_shi_ji_lu">
				<div class="left">
					<span class="head">查看记录</span>
				</div>
				<div class="right">
					<div class="head">
						<div class="left_head">根据查看记录推荐</div>
						<div class="right_head">
							第<a class="ye">20</a>页&nbsp共<a class="total_ye">20</a>页
						</div>
					</div>
					
				</div>
			</div>
		</div> -->

	</div>
		<!-- 查看记录结束 -->
	<!-- 中间部分结束 -->
	<!-- 底部开始 -->
		<!-- 版权区域上部 -->
		<div id="floor3">
			<ul class="up">
				<li class="icon_middle">
					<span class="diyi"></span>
					<a href="">四大美妆电商</a>
					<p class="des">四千万用户信赖</p>
				</li>
				<li class="icon_middle">
					<span class="shangshi"></span>
					<a href="">成功在美上市</a>
					<p class="des">股票代码NYSE:JMEI</p>
				</li>
				<li class="icon_middle">
					<span class="fangwei"></span>
					<a href="">品牌防伪码</a>
					<p class="des">支持品牌官网验真</p>
				</li>
				<li class="icon_middle">
					<span class="tui_huo"></span>
					<a href="">30天无理由退货</a>
					<p class="des">只要不满意无理由退货</p>
				</li>
				<li class="icon_middle">
					<span class="kou_bei"></span>
					<a href="">百万用户口碑</a>
					<p class="des">帮你只选对的,不选贵的</p>
				</li>
				<li class="icon_middle">
					<span class="fa_huo"></span>
					<a href="">订单闪电发货</a>
					<p class="des">1.5小时订单急速出库</p>
				</li>
				<li class="icon_middle">
					<span class="re_jian"></span>
					<a href="">大牌明星热荐</a>
					<p class="des">打造精致明星脸</p>
				</li>


			</ul>
			<div class="middle">
				<div class="left">
					<dl class="shou_ce">
						<dt>服务保障</dt>
						<dd><a href="">品牌真品防伪码</a></dd>
						<dd><a href="">100%正品保证</a></dd>
						<dd><a href="">30天无条件退货</a></dd>
						<dd><a href="">7×24小时客服服务</a></dd>
						<dd><a href="">总裁邮箱ceo@jumei.com</a></dd>
					</dl>
					<dl class="shou_ce">
						<dt>使用帮助</dt>
						<dd><a href="">新手指南</a></dd>
						<dd><a href="">常见问题</a></dd>
						<dd><a href="">帮助中心</a></dd>
						<dd><a href="">用户协议</a></dd>
						<dd><a href="">企业用户团购</a></dd>
					</dl>
					<dl class="shou_ce">
						<dt>支付方式</dt>
						<dd><a href="">货到付款</a></dd>
						<dd><a href="">在线支付</a></dd>
						<dd><a href="">余额支付</a></dd>
						<dd><a href="">现金券支付</a></dd>
						
					</dl>
					<dl class="shou_ce">
						<dt>配送方式</dt>
						<dd><a href="">包邮政策</a></dd>
						<dd><a href="">配送说明</a></dd>
						<dd><a href="">运费说明</a></dd>
						<dd><a href="">验货签收</a></dd>
						
					</dl>
					<dl class="shou_ce">
						<dt>售后服务</dt>
						<dd><a href="">正品承诺</a></dd>
						<dd><a href="">售后咨询</a></dd>
						<dd><a href="">退货政策</a></dd>
						<dd><a href="">退货办理</a></dd>
						
					</dl>
				</div>
				<ul class="right">
					<li class="ma">
					    <span>手机聚美</span>
						<img src="./image/shangpin/jumei_weixin_header1.png" alt="" />
						<a href="">下载移动客户端</a>
					</li>
					<li class="ma">
					    <span>聚美微信</span>
						<img src="./image/shangpin/sina_er.png" alt="" />
						<a href="">聚美官方微信</a>
					</li>		
				</ul>
				
			</div>
			<div class="below">
			</div>
		</div>
		<!-- 版权区域 -->
		<div id="ban_quan">
			<div class="head">
				<ul class="flink">
					<li><a href="">关于聚美优品</a></li>
					<li><a href="">INVESTOR</a></li>
					<li><a href="">RELATIONS</a></li>
					<li><a href="">商家入驻</a></li>
					<li><a href="">获取更新</a></li>
					<li><a href="">品牌合作专区</a></li>
					<li><a href="">网站联盟</a></li>
					<li><a href="">媒体报道</a></li>
					<li><a href="">商务合作</a></li>

				</ul>
			</div>
			<div class="foot">
				<div class="ban_quan_des">
					<span>COPYRIGHT © 2010-2015 北京创锐文化传媒有限公司 JUMEI.COM 保留一切权利。 客服热线：400-123-8888</span><br/>
	                <span>京公网安备 11010102001226 | 京ICP证10046944号 | 食品流通许可证 SP1101051110165515（1-1） | 营业执照</span>
				</div>
				<div class="ban_quan_icon">
					<span class="tuangou"></span>
					<span class="renzheng"></span>
					<span class="zhuanti"></span>
					<span class="zhifubao"></span>
					<span class="kexin"></span>
					
				</div>
			</div>
		</div>

		
</body>
</html>


    
    